using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;

namespace ZR.ServiceCore.Services.IService
{
    /// <summary>
    /// 测试表2服务接口
    /// </summary>
    public interface ISheetTest2Service : IBaseService<SheetTest2>
    {
        /// <summary>
        /// 分页查询测试表2列表
        /// </summary>
        /// <param name="queryDto">查询条件</param>
        /// <param name="pager">分页参数</param>
        /// <returns></returns>
        PagedInfo<SheetTest2> SelectSheetTest2List(SheetTest2QueryDto queryDto, PagerInfo pager);

        /// <summary>
        /// 根据ID查询测试表2
        /// </summary>
        /// <param name="id">主键ID</param>
        /// <returns></returns>
        SheetTest2 SelectSheetTest2ById(int id);

        /// <summary>
        /// 添加测试表2
        /// </summary>
        /// <param name="addDto">添加对象</param>
        /// <returns></returns>
        int AddSheetTest2(SheetTest2AddDto addDto);

        /// <summary>
        /// 修改测试表2
        /// </summary>
        /// <param name="updateDto">修改对象</param>
        /// <returns></returns>
        int UpdateSheetTest2(SheetTest2UpdateDto updateDto);

        /// <summary>
        /// 删除测试表2
        /// </summary>
        /// <param name="ids">主键ID数组</param>
        /// <returns></returns>
        int DeleteSheetTest2(int[] ids);
    }
}
